local BB = MABabel
--[[ 
BB.AddonList[""] = function() if not  then return false end
return true end

do if not BB.SV.BanList[""] then
end end
BB.AddonList[""] = function() if not  then return false end
return true end
]]

BB.AddonList["AutoCategory"] = function() if not AutoCategory then return false end
  --strings.lua
  AutoCategory_localization_strings["zh"] = {
    SI_AC_BAGTYPE_SHOWNAME_BACKPACK = "随身背包",
    SI_AC_BAGTYPE_SHOWNAME_BANK = "银行",
    SI_AC_BAGTYPE_SHOWNAME_GUILDBANK = "公会银行",
    SI_AC_BAGTYPE_SHOWNAME_CRAFTBAG = "材料背包",
    SI_AC_BAGTYPE_SHOWNAME_CRAFTSTATION = "工作台",
    SI_AC_BAGTYPE_SHOWNAME_HOUSEBANK = "住宅储藏箱",
    SI_AC_BAGTYPE_SHOWNAME_FURNVAULT = "装饰品宝库",
    SI_AC_BAGTYPE_TOOLTIP_BACKPACK = "随身背包",
    SI_AC_BAGTYPE_TOOLTIP_BANK = "银行",
    SI_AC_BAGTYPE_TOOLTIP_GUILDBANK = "公会银行",
    SI_AC_BAGTYPE_TOOLTIP_CRAFTBAG = "材料背包",
    SI_AC_BAGTYPE_TOOLTIP_CRAFTSTATION = "工作台", 
    SI_AC_BAGTYPE_TOOLTIP_HOUSEBANK = "住宅储藏箱",
    SI_AC_BAGTYPE_TOOLTIP_FURNVAULT = "装饰品宝库",

    SI_AC_ALIGNMENT_LEFT = "左对齐",
    SI_AC_ALIGNMENT_CENTER = "居中",
    SI_AC_ALIGNMENT_RIGHT = "右对齐",

    SI_AC_DEFAULT_NAME_EMPTY_TAG = "<空>",
    SI_AC_DEFAULT_NAME_CATEGORY_OTHER = "其他",
    SI_AC_DEFAULT_NAME_NEW_CATEGORY = "新分类",

    SI_AC_WARNING_CATEGORY_MISSING = "这个分类不存在，请确认同名的分类是否存在。",
    SI_AC_WARNING_CATEGORY_NAME_EMPTY = "分类名称不能为空。",
    SI_AC_WARNING_CATEGORY_NAME_DUPLICATED = "名称 '%s' 重复了，您可以尝试使用 '%s'。",
    SI_AC_WARNING_NEED_RELOAD_UI = "需要重载界面",

    SI_AC_MENU_BS_CHECKBOX_ACCOUNT_WIDE_SETTING = "账号设置",
    SI_AC_MENU_BS_CHECKBOX_ACCOUNT_WIDE_SETTING_TOOLTIP = "使用账号设置取代角色设置",

    SI_AC_MENU_SUBMENU_BAG_SETTING = "|c0066FF[背包设定]|r",
    SI_AC_MENU_BS_DROPDOWN_BAG = "选择背包",
    SI_AC_MENU_BS_DROPDOWN_BAG_TOOLTIP = "选择一个背包来修改其所拥有的分类",
    SI_AC_MENU_BS_CHECKBOX_UNGROUPED_CATEGORY_HIDDEN = "隐藏未分类物品",
    SI_AC_MENU_BS_CHECKBOX_UNGROUPED_CATEGORY_HIDDEN_TOOLTIP = "启用时，未被分类的物品将在包中被隐藏",

    SI_AC_MENU_BS_DROPDOWN_CATEGORIES = "选择分类",
    SI_AC_MENU_BS_SHOWDROPDOWN_CATEGORIES = "排序显示分类",
    SI_AC_MENU_BS_SLIDER_CATEGORY_RUNPRIORITY = "规则优先度",
    SI_AC_MENU_BS_SLIDER_CATEGORY_RUNPRIORITY_TOOLTIP = "物品满足多个分类规则时，将被归入更高优先度的分类",
    SI_AC_MENU_BS_SLIDER_CATEGORY_SHOWPRIORITY = "显示优先度",
    SI_AC_MENU_BS_SLIDER_CATEGORY_SHOWPRIORITY_TOOLTIP = "各分类按照优先度，从高到低排序显示",
    SI_AC_MENU_BS_BUTTON_SHOW = "预览分类顺序",
    SI_AC_TITLE_DSO = "分类显示顺序",
    SI_AC_MENU_BS_BUTTON_SHOW_TOOLTIP = "打开一个窗口预览目前的分类排列顺序" ,
    SI_AC_MENU_BS_BUTTON_EDIT = "编辑分类",
    SI_AC_MENU_BS_BUTTON_EDIT_TOOLTIP = "在分类设置中编辑这个分类",
    SI_AC_MENU_BS_HIDE_CAT = "Hide Category",
    SI_AC_MENU_BS_SHOW_CAT = "Show Category",
    SI_AC_MENU_BS_BUTTON_REMOVE = "移除分类",
    SI_AC_MENU_BS_BUTTON_REMOVE_TOOLTIP = "将选定的分类从背包中移除",
    SI_AC_MENU_BS_RESET_SHOW_PRIOR = "重置显示优先度",
    SI_AC_MENU_BS_RESET_ALL_SHOW_PRIOR = "重置背包中所有分类的显示优先度",

    SI_AC_MENU_BS_CHECKBOX_CATEGORY_HIDDEN = "隐藏分类",
    SI_AC_MENU_BS_CHECKBOX_CATEGORY_HIDDEN_TOOLTIP = "该分类及分类下的物品将在包中被隐藏",

    SI_AC_MENU_HEADER_ADD_CATEGORY = "添加分类",
    SI_AC_MENU_AC_DROPDOWN_TAG = "选择标签",
    SI_AC_MENU_AC_DROPDOWN_CATEGORY = "选择分类",
    SI_AC_MENU_AC_BUTTON_EDIT = "编辑分类",
    SI_AC_MENU_AC_BUTTON_EDIT_TOOLTIP = "在分类设置中编辑这个分类",
    SI_AC_MENU_AC_BUTTON_ADD = "添加分类",
    SI_AC_MENU_AC_BUTTON_ADD_TOOLTIP = "将选定的分类添加到背包中",
    SI_AC_MENU_AC_BUTTON_NEED_HELP = "需要帮助?",

    SI_AC_MENU_HEADER_IMPORT_BAG_SETTING = "导入背包配置",
    SI_AC_MENU_IBS_DROPDOWN_IMPORT_FROM_BAG = "从背包导入",
    SI_AC_MENU_IBS_DROPDOWN_IMPORT_FROM_BAG_TOOLTIP = "请选择一个背包来导入配置。",
    SI_AC_MENU_IBS_BUTTON_IMPORT = "导入",
    SI_AC_MENU_IBS_BUTTON_IMPORT_TOOLTIP = "导入会覆盖当前背包的配置。",

    SI_AC_MENU_HEADER_UNIFY_BAG_SETTINGS = "统一使用当前背包配置",
    SI_AC_MENU_UBS_BUTTON_EXPORT_TO_ALL_BAGS = "导出到所有的背包",
    SI_AC_MENU_UBS_BUTTON_EXPORT_TO_ALL_BAGS_TOOLTIP = "将会用当前背包的配置替换所有的背包!",

    SI_AC_MENU_SUBMENU_CATEGORY_SETTING = "|c0066FF[分类设置]|r",
    SI_AC_MENU_CS_DROPDOWN_TAG = "选择标签",
    SI_AC_MENU_CS_DROPDOWN_TAG_TOOLTIP = "为分类添加标签以方便搜索",
    SI_AC_MENU_CS_DROPDOWN_CATEGORY = "选择分类",
    SI_AC_MENU_CS_CATEGORY_DESC = "选择现有分类:",
    SI_AC_MENU_CS_CREATENEW_DESC = "创建/复制新分类:",

    SI_AC_MENU_HEADER_EDIT_CATEGORY = "编辑分类",
    SI_AC_MENU_EC_BUTTON_PREDEFINED = "|cFF0000预定设置，只读|r",
    SI_AC_MENU_EC_EDITBOX_NAME = "分类名称",
    SI_AC_MENU_EC_EDITBOX_NAME_TOOLTIP = "分类名称无法重复.",
    SI_AC_MENU_EC_EDITBOX_TAG = "标签",
    SI_AC_MENU_EC_EDITBOX_TAG_TOOLTIP = "分类只有在对应的标签中可见。 如果标签为空则会使用标签：<空>",
    SI_AC_MENU_EC_EDITBOX_DESCRIPTION = "分类描述",
    SI_AC_MENU_EC_EDITBOX_DESCRIPTION_TOOLTIP = "用于说明分类的作用",
    SI_AC_MENU_EC_EDITBOX_RULE = "规则",
    SI_AC_MENU_EC_EDITBOX_RULE_TOOLTIP = "规则将被用于给物品分类",
    SI_AC_MENU_EC_BUTTON_LEARN_RULES = "学习规则",
    SI_AC_MENU_EC_BUTTON_LEARN_RULES_TOOLTIP = "学习规则",
    SI_AC_MENU_EC_BUTTON_NEW_CATEGORY = "创建分类",
    SI_AC_MENU_EC_BUTTON_NEW_CATEGORY_TOOLTIP = "用选定的标签创建一个新的分类",
    SI_AC_MENU_EC_BUTTON_CHECK_RULE = "可行性检查",
    SI_AC_MENU_EC_BUTTON_CHECK_RESULT_GOOD = "|c2DC50E可行|r",
    SI_AC_MENU_EC_BUTTON_CHECK_RESULT_ERROR = "|cFF0000错误|r",
    SI_AC_MENU_EC_BUTTON_CHECK_RESULT_WARNING = "|cEECA00警告 - 未识别:|r",
    SI_AC_MENU_EC_BUTTON_CHECK_RULE_TOOLTIP = "如果有错误请检查书写规则",
    SI_AC_MENU_EC_BUTTON_COPY_CATEGORY = "复制分类",
    SI_AC_MENU_EC_BUTTON_COPY_CATEGORY_TOOLTIP = "复制一个选中的分类",
    SI_AC_MENU_EC_BUTTON_DELETE_CATEGORY = "删除分类",
    SI_AC_MENU_EC_BUTTON_DELETE_CATEGORY_TOOLTIP = "删除选中的分类",

    SI_AC_MENU_SUBMENU_APPEARANCE_SETTING = "|c0066FF[表现设置]|r",
    SI_AC_MENU_AS_DESCRIPTION_REFRESH_TIP = "修改分类组的名称样式，不需要重新加载界面，只需要切换一下标签页即可刷新。*只在键盘模式下有用*",
    SI_AC_MENU_EC_DROPDOWN_CATEGORY_TEXT_FONT = "字体",
    SI_AC_MENU_EC_DROPDOWN_CATEGORY_TEXT_STYLE = "字体样式",
    SI_AC_MENU_EC_DROPDOWN_CATEGORY_TEXT_ALIGNMENT = "水平对齐",
    SI_AC_MENU_EC_DROPDOWN_CATEGORY_TEXT_FONT_SIZE = "字号",
    SI_AC_MENU_EC_DROPDOWN_CATEGORY_TEXT_COLOR = "字体颜色",
    SI_AC_MENU_EC_DROPDOWN_HIDDEN_CATEGORY_TEXT_COLOR = "隐藏分类的字体颜色",
    SI_AC_MENU_EC_DROPDOWN_HIDDEN_CATEGORY_TEXT_COLOR_TT = "被隐藏的分类名称将以此颜色显示在背包中，但不会显示该分类下的物品",
    SI_AC_MENU_EC_EDITBOX_CATEGORY_UNGROUPED_TITLE = "未分组分类名称",
    SI_AC_MENU_EC_EDITBOX_CATEGORY_UNGROUPED_TITLE_TOOLTIP = "如果物品没有匹配的分类，将会放到这个分类里",
    SI_AC_MENU_EC_SLIDER_CATEGORY_HEADER_HEIGHT = "分类标题高度",
    SI_AC_MENU_EC_BUTTON_RELOAD_UI = "重载界面",
    SI_AC_MENU_SUBMENU_GENERAL_SETTING = "|c0066FF[通用设定]|r",
    SI_AC_MENU_GS_CHECKBOX_SHOW_MESSAGE_WHEN_TOGGLE = "切换时显示提醒消息",
    SI_AC_MENU_GS_CHECKBOX_SHOW_MESSAGE_WHEN_TOGGLE_TOOLTIP = "切换插件功能时可以在聊天框中显示一条提醒消息。",
    SI_AC_MENU_GS_CHECKBOX_SHOW_CATEGORY_ITEM_COUNT = "显示分类物品计数",
    SI_AC_MENU_GS_CHECKBOX_SHOW_CATEGORY_ITEM_COUNT_TOOLTIP = "在分类名后增加该类别下的物品计数", 
    SI_AC_MENU_GS_CHECKBOX_SHOW_CATEGORY_COLLAPSE_ICON = "显示分类折叠图标",
    SI_AC_MENU_GS_CHECKBOX_SHOW_CATEGORY_COLLAPSE_ICON_TOOLTIP = "显示折叠/展开分类的图标",
    SI_AC_MENU_GS_CHECKBOX_SAVE_CATEGORY_COLLAPSE_STATUS = "保存分类折叠状态",
    SI_AC_MENU_GS_CHECKBOX_SAVE_CATEGORY_COLLAPSE_STATUS_TOOLTIP = "在登出后，保存物品分类的折叠和展开状态",
    SI_AC_MENU_GS_CHECKBOX_SHOW_CATEGORY_SET_TITLE = "自动套装分类时，显示 '套装(名称)'",
    SI_AC_MENU_GS_CHECKBOX_SHOW_CATEGORY_SET_TITLE_TOOLTIP = "在套装分类时，显示 '套装(名称)' 而非'名称'",

    SI_AC_MENU_SUBMENU_IMPORT_EXPORT = "|c0066FF[导入 & 导出]|r",
    SI_AC_MENU_HEADER_ACCOUNT_WIDE_SETTING = "全账号配置",

    SI_AC_MENU_SUBMENU_GAMEPAD_SETTING = "|c0066FF[手柄模式设置]|r",
    SI_AC_MENU_GMS_DESCRIPTION_TIP = "仅在手柄模式下生效",
    SI_AC_MENU_GMS_CHECKBOX_ENABLE_GAMEPAD = "启用库存支持",
    SI_AC_MENU_GMS_CHECKBOX_ENABLE_GAMEPAD_TOOLTIP = "分类将被应用于手柄模式库存",
    SI_AC_MENU_GMS_CHECKBOX_EXTENDED_GAMEPAD_SUPPLIES = "启用扩展的物资类别",
    SI_AC_MENU_GMS_CHECKBOX_EXTENDED_GAMEPAD_SUPPLIES_TOOLTIP = "物资类别将包含库存所有物品。材料、家具和快捷栏物品类别将被隐藏",

    SI_AC_DEFAULT_TAG_GEARS= "装备",
    SI_AC_DEFAULT_TAG_GENERAL_ITEMS= "通用物品",
    SI_AC_DEFAULT_TAG_MATERIALS= "材料",
    SI_AC_DEFAULT_TAG_FURNITURE= "家具",
    SI_AC_DEFAULT_TAG_PAPERS="纸张",

    SI_AC_DEFAULT_CATEGORY_ARMOR= "护甲",
    SI_AC_DEFAULT_CATEGORY_BOE= "BoE装备",
    SI_AC_DEFAULT_CATEGORY_BOE_DESC= "穿戴绑定类装备(交易无限时)",
    SI_AC_DEFAULT_CATEGORY_BOP_TRADEABLE= "BoP装备",
    SI_AC_DEFAULT_CATEGORY_BOP_TRADEABLE_DESC= "拾取绑定类装备(限时内队友交易)",
    SI_AC_DEFAULT_CATEGORY_DECONSTRUCT= "分解",
    SI_AC_DEFAULT_CATEGORY_DECONSTRUCT_DESC= "准备分解的装备",
    SI_AC_DEFAULT_CATEGORY_EQUIPPING= "装备中",
    SI_AC_DEFAULT_CATEGORY_EQUIPPING_DESC= "正在装备着的装备(仅游戏手柄模式)",
    SI_AC_DEFAULT_CATEGORY_LOW_LEVEL= "低等级",
    SI_AC_DEFAULT_CATEGORY_LOW_LEVEL_DESC= "正在装备着的装备(仅游戏手柄模式)",
    SI_AC_DEFAULT_CATEGORY_NECKLACE= "项链",
    SI_AC_DEFAULT_CATEGORY_NECKLACE_DESC= "",
    SI_AC_DEFAULT_CATEGORY_RESEARCHABLE= "可研究",
    SI_AC_DEFAULT_CATEGORY_RESEARCHABLE_DESC= "装备可用于研究使用，只保留最低等级且品质最低的。",
    SI_AC_DEFAULT_CATEGORY_RING= "戒指",
    SI_AC_DEFAULT_CATEGORY_RING_DESC= "",
    SI_AC_DEFAULT_CATEGORY_SET= "套装",
    SI_AC_DEFAULT_CATEGORY_SET_DESC= "自动分类的套装装备",
    SI_AC_DEFAULT_CATEGORY_WEAPON= "武器",
    SI_AC_DEFAULT_CATEGORY_WEAPON_DESC= "",

    SI_AC_DEFAULT_CATEGORY_CONSUMABLES= "消耗品",
    SI_AC_DEFAULT_CATEGORY_CONSUMABLES_DESC= "食物，饮料，药水",
    SI_AC_DEFAULT_CATEGORY_CONTAINER= "容器",
    SI_AC_DEFAULT_CATEGORY_CONTAINER_DESC= "未打开的容器",
    SI_AC_DEFAULT_CATEGORY_FURNISHING= "家具",
    SI_AC_DEFAULT_CATEGORY_FURNISHING_DESC= "可放置于住宅的物品",
    SI_AC_DEFAULT_CATEGORY_BYCATEGORY = "类型",
    SI_AC_DEFAULT_CATEGORY_BYCATEGORY_DESC= "自动分类的家具类别",
    SI_AC_DEFAULT_CATEGORY_MASTER_WRITS="大师委托(所有)",
    --SI_AC_DEFAULT_CATEGORY_MASTER_WRITS_DESC="",
    SI_AC_DEFAULT_CATEGORY_GLYPHS_AND_GEMS= "符文&宝石",
    SI_AC_DEFAULT_CATEGORY_GLYPHS_AND_GEMS_DESC= "",
    SI_AC_DEFAULT_CATEGORY_NEW= "新物品",
    SI_AC_DEFAULT_CATEGORY_NEW_DESC= "最近刚刚得到的新物品",
    SI_AC_DEFAULT_CATEGORY_POISON= "毒药",
    SI_AC_DEFAULT_CATEGORY_POISON_DESC= "各种炼金毒药",
    SI_AC_DEFAULT_CATEGORY_QUICKSLOTS= "快捷栏",
    SI_AC_DEFAULT_CATEGORY_QUICKSLOTS_DESC= "装备在快捷栏里的物品",
    SI_AC_DEFAULT_CATEGORY_RECIPES_AND_MOTIFS= "配方&书籍",
    SI_AC_DEFAULT_CATEGORY_RECIPES_AND_MOTIFS_DESC= "所有配方、书籍和书籍碎片。",
    SI_AC_DEFAULT_CATEGORY_SELLING= "出售",
    SI_AC_DEFAULT_CATEGORY_SELLING_DESC= "",
    SI_AC_DEFAULT_CATEGORY_STOLEN= "偷取的",
    SI_AC_DEFAULT_CATEGORY_STOLEN_DESC= "偷取的物品",
    SI_AC_DEFAULT_CATEGORY_TREASURE_MAPS= "藏宝图",
    SI_AC_DEFAULT_CATEGORY_TREASURE_MAPS_DESC= "包括藏宝图和调查报告",
    
    SI_AC_DEFAULT_CATEGORY_ALCHEMY= "炼金",
    SI_AC_DEFAULT_CATEGORY_ALCHEMY_DESC= "炼金材料和炼金溶剂",
    SI_AC_DEFAULT_CATEGORY_BLACKSMITHING= "锻造",
    SI_AC_DEFAULT_CATEGORY_BLACKSMITHING_DESC= "",
    SI_AC_DEFAULT_CATEGORY_CLOTHING= "裁缝",
    SI_AC_DEFAULT_CATEGORY_CLOTHING_DESC= "",
    SI_AC_DEFAULT_CATEGORY_ENCHANTING= "附魔",
    SI_AC_DEFAULT_CATEGORY_ENCHANTING_DESC= "",
    SI_AC_DEFAULT_CATEGORY_JEWELRYCRAFTING= "珠宝",
    SI_AC_DEFAULT_CATEGORY_JEWELRYCRAFTING_DESC= "",
    SI_AC_DEFAULT_CATEGORY_PROVISIONING= "烹饪",
    SI_AC_DEFAULT_CATEGORY_PROVISIONING_DESC= "",
    SI_AC_DEFAULT_CATEGORY_TRAIT_OR_STYLE_GEMS= "特性/样式宝石",
    SI_AC_DEFAULT_CATEGORY_TRAIT_OR_STYLE_GEMS_DESC= "",
    SI_AC_DEFAULT_CATEGORY_WOODWORKING= "木工",
    SI_AC_DEFAULT_CATEGORY_WOODWORKING_DESC= "",

    SI_BINDING_NAME_TOGGLE_AUTO_CATEGORY= "切换 Auto Category",
    SI_MESSAGE_TOGGLE_AUTO_CATEGORY_ON="Auto Category: 开启",
    SI_MESSAGE_TOGGLE_AUTO_CATEGORY_OFF="Auto Category: 关闭",
    SI_CONTEXT_MENU_EXPAND = "展开",
    SI_CONTEXT_MENU_COLLAPSE = "折叠",
    SI_CONTEXT_MENU_EXPAND_ALL = "展开所有",
    SI_CONTEXT_MENU_COLLAPSE_ALL = "折叠所有",
  }
  
  --Special Setting
  AutoCategory.LoadLanguage(AutoCategory_localization_strings, "en")
  
  BB.SetMenuItemPatch("AC: Get itemId", "获取物品ID")
  
return true end